complex borders